package com.aisi.service;

import com.aisi.entity.dto.Account;
import com.aisi.entity.vo.request.ConfirmResetVO;
import com.aisi.entity.vo.request.EmailRegisterVO;
import com.aisi.entity.vo.request.EmailResetVO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * @Author: shenjianZ
 * @Date: 2024/2/14 19:00
 * @Description:
 */


public interface AccountService extends IService<Account>, UserDetailsService {

    public Account findAccountByUsernameOrEmail(String text);

    public String registerEmailVerifyCode(String type, String email, String ip);

    public String registerEmailAccount(EmailRegisterVO emailRegisterVO);

    public String resetConfirm(ConfirmResetVO confirmResetVO);
    public String resetEmailAccountPassword(EmailResetVO emailResetVO);

}
